from pyeasyaccept.listener.PyEAErrorListener import PyEAErrorListener

class ListenerClass(PyEAErrorListener):
    message = ""
    
    def notifyPyEAErrorEvent(self, event):
        self.message += str(event.getErrorMessage())+ " "
    
    def echo(self,sth):
        return sth

    def getMessage(self):
        return self.message


